//
//  Spiel4ViewController.h
//  Lextra Junior ueb IT
//
//  Created by Dirk Lieder on 30.05.11.
//  Copyright 2011 Phosphon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h> 
#import "SubstitutableDetailViewController.h"
@class SpielCounter;
//___NGUYEN_HUY_SON____
@class WoerterViewController;
//____END_NGUYEN_HUY_SON
@interface Spiel4ViewController : UIViewController <AVAudioPlayerDelegate,SubstitutableDetailViewController>{
       
    
    UILabel *richtigLabel;
    
    UIView *view1,*view2;
  
    SpielCounter *spielCounter;
    
    id timer;
    
    @private id Delegate;
    //___NGUYEN_HUY_SON
    UINavigationBar *navigationBar;
    WoerterViewController* woerView;
    UIButton* Button1;
    UIButton* Button2;
    UIButton* Button3;
    UIButton* Button4;
    UIButton* Button5;
    UIButton* Button6;
    UIButton* Button7;
    UIButton* Button8;
    UIButton* Button9;
    UIButton* Button10;
    UIButton* Button11;
    UIButton* Button12;
    UILabel* labelSupper;       // Show result
    UIImageView* imageResult;
    UIButton* buttonNew;
    //___END_NGUYEN_HUY
}


@property (nonatomic, retain)IBOutlet UILabel *richtigLabel;

@property (nonatomic, retain)IBOutlet UIView *view1,*view2;

@property (nonatomic, retain)IBOutlet SpielCounter *spielCounter;
//___NGUYEN_HUY_SON
@property (nonatomic, retain) IBOutlet UINavigationBar *navigationBar;
@property (nonatomic, retain) IBOutlet UILabel* labelSupper;
@property (nonatomic, retain) IBOutlet UIImageView* imageResult;
@property (nonatomic, retain) IBOutlet UIButton* buttonNew;
//___END_NGUYEN_HUY
//______________NGUYEN_HUY_SON______
@property (nonatomic, retain)IBOutlet WoerterViewController* woerView;

@property (nonatomic, retain)IBOutlet UIButton* Button1;
@property (nonatomic, retain)IBOutlet UIButton* Button2;
@property (nonatomic, retain)IBOutlet UIButton* Button3;
@property (nonatomic, retain)IBOutlet UIButton* Button4;
@property (nonatomic, retain)IBOutlet UIButton* Button5;
@property (nonatomic, retain)IBOutlet UIButton* Button6;
@property (nonatomic, retain)IBOutlet UIButton* Button7;
@property (nonatomic, retain)IBOutlet UIButton* Button8;
@property (nonatomic, retain)IBOutlet UIButton* Button9;
@property (nonatomic, retain)IBOutlet UIButton* Button10;
@property (nonatomic, retain)IBOutlet UIButton* Button11;
@property (nonatomic, retain)IBOutlet UIButton* Button12;


//____END_NGUYEN_HUY_SON____
- (IBAction) stop:(id)sender;
- (IBAction) game1:(id)sender;
- (IBAction) game2:(id)sender;
- (IBAction) game3:(id)sender;
- (IBAction) game4:(id)sender;
- (IBAction) game5:(id)sender;
- (IBAction) game6:(id)sender;
- (IBAction) game7:(id)sender;
- (IBAction) game8:(id)sender;
- (IBAction) game9:(id)sender;
- (IBAction) game10:(id)sender;
- (IBAction) game11:(id)sender;
- (IBAction) game12:(id)sender;


- (IBAction) naechsteswort:(id)sender;


- (void)sstop;
- (void)setDelegatePlud:(id)new_delegate;
- (void)newQuest;
- (void)showResult;
- (void)stopAndHideCounter;

- (void)callback;


@end
